body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #1e1e1e; /* 设置暗色背景 */
  color: #ffffff; /* 设置字体颜色为白色 */
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 加深阴影 */
  background-color: #1E1E1E; /* 设置容器背景为深色 */
  border-radius: 8px; /* 添加圆角 */
}

h1,
h4 {
  text-align: center;
}

div {
  margin-bottom: 10px;
}

input[type="text"],
select,
input[type="number"],
textarea {
  width: 97%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #333; /* 边框颜色改为深色 */
  border-radius: 5px;
  background-color: #2D2D2D; /* 输入框背景颜色改为深色 */
  color: #ffffff; /* 输入框字体颜色改为白色 */
}

button {
  width: 100%;
  padding: 10px;
  background-color: #3c3c3c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

label {
  display: block;
}

/* 隐藏原生单选按钮 */
.radio-button input[type="radio"] {
  display: none;
}

/* 创建新的按钮样式 */
.radio-button {
  display: inline-block;
  padding: 5px 20px;
  margin: 0px;
  border: 2px solid #282c34; /* 蓝色边框 */
  border-radius: 5px; /* 圆角边框 */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 当单选按钮被选中时改变label背景色 */
.radio-button input[type="radio"]:checked + .checkmark {
  background-color: #007bff;
  color: white;
}

/* 调整选中状态的视觉反馈 */
.radio-button:hover {
  background-color: #0056b3;
  color: white;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #eee;
  border-radius: 50%; /* 圆形 */
  margin-right: 10px;
  vertical-align: middle;
}

/* 选中状态的样式 */
.radio-button input[type="radio"]:checked + .checkmark {
  background-color: #007bff;
}

/* 新增/修改样式以确保复选框和标签在同一行 */
.check-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px; /* 为复选框行添加底部边距 */
}

.check-options > div {
  display: flex; /* 使复选框和标签在同一行内 */
  align-items: center; /* 垂直居中对齐 */
  flex: 1;
}

/* 可选：为标签添加左边距，增加复选框和标签之间的空间 */
.check-options label {
  margin-left: 8px;
}

/* 选择框鼠标悬浮样式 */
select:hover,
input[type="number"]:hover {
  background-color: #2A2A2A; /* 鼠标悬浮时的背景色 */
  border-color: #007bff; /* 鼠标悬浮时的边框颜色 */
}

.input-group {
  display: flex;
  align-items: center; /* 垂直居中 */
  margin-bottom: 10px; /* 添加一些底部间距 */
}

.input-group label {
  margin-right: 10px; /* 在label和输入框之间添加一些间距 */
  white-space: nowrap; /* 防止label在窄屏幕上折行 */
}

.input-group select,
.input-group input[type="number"] {
  flex: 1; /* 输入框占用剩余空间 */
}

.shortcut-buttons {
  position: fixed;
  right: 20px;
  top: 100px;
  display: flex;
  flex-direction: column;
}

.shortcut-button {
  margin-bottom: 10px;
  width: 100px;
}
